﻿using CMS.DataAccess;

namespace CMS.Model
{
    [MyTableName("Course")]
    public class CourseModel : BaseModel
    {
        public string CourseName { get; set; }
        [MyForeign(typeof(UserModel),nameof(UserModel.UserName))]
        public string Teacher { get; set; }
        public string Color { get; set; }
        public string Optional { get; set; } = "N";
        public string GroupClass { get; set; } = "N";
    }
}
